import request from '../utils'

export let list = () => {
    return request({
        url: '/api/pro/categorylist',
        method: "GET",
    })
}

export let brandlist = (category: String) => {
    return request({
        url: '/api/pro/categorybrandlist',
        method: "GET",
        params: {
            category
        }
    })
}

export let categorybrandprolist = (count: any = 1, limitNum: Number = 10, category: String, brand: any) => {
    return request({
        url: '/api/pro/categorybrandprolist',
        method: "GET",
        params: {
            count, limitNum, category, brand
        }
    })
}